/**
 * jims
 */
package com.jims.master.modules.med.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 组织机构与省份对照Entity
 * @author 陈晓阳
 * @version 2017-06-06
 */
public class OrgVsProvince extends DataEntity<OrgVsProvince> {
	
	private static final long serialVersionUID = 1L;
	private String orgId;		// 组织机构id
	private String province;		// 省份字典value
    private String orgName;
    private String targetClass;

    public String getTargetClass() {
        return targetClass;
    }

    public void setTargetClass(String targetClass) {
        this.targetClass = targetClass;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public OrgVsProvince() {
		super();
	}

	public OrgVsProvince(String id){
		super(id);
	}

	@Length(min=0, max=64, message="组织机构id长度必须介于 0 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
	@Length(min=0, max=64, message="省份字典value长度必须介于 0 和 64 之间")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	
}